﻿using PLC.Interface.RecipeVariables;
using System.Collections.Generic;
using System.Threading.Tasks;
using YWM.Application;

namespace PLC.Interface.Recipes
{
    public interface IRecipeAppService : IAppService
    {
        Task<IReadOnlyList<RecipeResultDto>> GetList(int top = 10);

        Task<RecipeResultDto> Save(RecipeDto input, List<RecipeVariableDto> recipeVariables);

        Task Delete(RecipeDto input);

        Task Apply(RecipeDto input);
    }
}
